package com.qtcm.nas.wzh.commoditys.service;

import com.qtcm.nas.wzh.commoditys.pojo.Commodity;
import com.qtcm.nas.wzh.commoditys.pojo.Commoditya;

import java.util.List;

public interface ICommodityService {
    public List<Commodity> findAll();
    public int addCommodity(Commodity commodity);
    public int updateCommodity(Commodity commodity);
    public int deleteCommodity(int J_letem_id);
    public Commodity findById(int J_letem_id);

    void updatestate(Commodity commodity);
    //另外一个
    public List<Commoditya> findAlla();
    public int addCommoditya(Commoditya commoditya);
    public int updateCommoditya(Commoditya commoditya);
    public int deleteCommoditya(int J_commodity_classification);
    public Commoditya findByIda(int J_commodity_classification);
}
